<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.net.cluster.tina.util.ServerThread</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.net.cluster.tina.util.ServerThread";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html" class="symbol">tango.net.cluster.tina.util.ServerThread</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: April 2004
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="ServerThread" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L32" kind="class" beg="32" end="84">ServerThread</a>; <a title="Permalink to this symbol" href="#ServerThread" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L32">#</a></dt>
<dd class="ddef">
<div class="summary">Subclasses Thread to provide the basic server-thread loop. This
        functionality could also be implemented as a delegate, however,
        we also wish to subclass in order to add thread-local data (see
        HttpThread).</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="ServerThread.this" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L44" kind="ctor" beg="44" end="49">this</a><span class="params">(AbstractServer <em>server</em>, ServerSocket <em>socket</em>)</span>; <a title="Permalink to this symbol" href="#ServerThread.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L44">#</a></dt>
<dd class="ddef">
<div class="summary">Construct a ServerThread for the given Server, upon the
                specified socket</div></dd>
<dt class="decl">void <a class="symbol _function" name="ServerThread.run" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L62" kind="function" beg="62" end="83">run</a><span class="params">()</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#ServerThread.run" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.cluster.tina.util.ServerThread.html#L62">#</a></dt>
<dd class="ddef">
<div class="summary">Execute this thread until the Server says to halt. Each
                thread waits in the socket.accept() state, waiting for
                a connection request to arrive. Upon selection, a thread
                dispatches the request via the request service-handler
                and, upon completion, enters the socket.accept() state
                once more.</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:56 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>